package com.baoteng.rbspy.service;

import com.baoteng.rbspy.model.Model;
import com.baoteng.rbspy.model.proposal.DetailsProposal;
import com.baoteng.rbspy.model.proposal.InfoFlow;
import com.baoteng.rbspy.model.proposal.InfoPolicy;
import com.baoteng.rbspy.model.proposal.InfoProposal;
import com.baoteng.rbspy.model.request.proposal.QueryPolicyRequest;
import com.baoteng.rbspy.model.request.proposal.QueryProposalRequest;
import com.baoteng.rbspy.model.response.proposal.CheckRiskCode;
import com.baoteng.rbspy.mq.WSPackage;
import com.baoteng.rbspy.vo.request.HeRequest;
import com.baoteng.rbspy.vo.request.PayQrCodeRequset;
import com.baoteng.rbspy.vo.response.HeResponse;
import com.baoteng.rbspy.vo.response.PayQrResponse;

public interface ProposalService {

	public Model<InfoPolicy> listPolicy(QueryPolicyRequest request) throws Exception;

	public Model<InfoProposal> listProposal(QueryProposalRequest query) throws Exception;

	public DetailsProposal getProposalInfo(String proposalNo);
	
	public InfoFlow getFlow(String proposalNo);
	
	public boolean delProposal(String proposalNos);
	
	public CheckRiskCode checkRiskCode(String proposalNos) throws Exception;

	public HeResponse submitUndwrt(WSPackage<HeRequest> _request) throws Exception;

	public HeResponse getUndwrtInfo(String proposalNo) throws Exception;

	public PayQrResponse getExchange(PayQrCodeRequset request) throws Exception;
}
